package com.itheima.demo1;

import java.util.Scanner;
public class text1 {
    public static void main(String[] args) {
        System.out.println("请输入一个三位数");
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
        System.out.println(number % 10);
        System.out.println(number / 10 % 10);
        System.out.println(number / 100 % 10);
    }
}
